//
//  ConsultView.m
//  安好
//
//  Created by lianchuang on 14/11/11.
//  Copyright (c) 2014年 lianchuangbrother. All rights reserved.
//

#import "ConsultView.h"

@implementation ConsultView

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

- (IBAction)selectFamily:(UIButton *)sender {
    if (self.departmentDelegate&&[self.departmentDelegate respondsToSelector:@selector(doFamily)]) {
        [self.departmentDelegate doFamily];
    }
}

- (IBAction)selectDepartments:(UIButton *)sender {
    if (self.departmentDelegate&&[self.departmentDelegate respondsToSelector:@selector(doDepartments)]) {
        [self.departmentDelegate doDepartments];
    }
}

- (IBAction)selectDoctors:(UIButton *)sender {
    if (self.departmentDelegate&&[self.departmentDelegate respondsToSelector:@selector(doDoctors)]) {
        [self.departmentDelegate doDoctors];
    }
}

- (IBAction)selectCamera:(UIButton *)sender {
    if (self.departmentDelegate&&[self.departmentDelegate respondsToSelector:@selector(doCamera)]) {
        [self.departmentDelegate doCamera];
    }
}

- (IBAction)addPhoto:(UIButton *)sender {
    if (self.departmentDelegate&&[self.departmentDelegate respondsToSelector:@selector(addphotos)]) {
        [self.departmentDelegate addphotos];
    }
}
@end
